home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 051-075 / 069 / spool / spool.h < prev    next >
Text File  |  1995-03-13  |  650b  |  35 lines

  1. /* Spool.h - spooler */
  2.  
  3. #define NUL '\0'    /* ASCII Null character */
  4.  
  5. /* Define the priorities at which the SPOOLER and PRTSPOOL tasks are to
  6. ** run:
  7. */
  8.  
  9. #define SPOOLER_PRIORITY 4
  10. #define PRTSPOOL_PRIORITY (SPOOLER_PRIORITY-1)
  11.  
  12. /* The message port names: */
  13.  
  14. #define SPOOL_ME "SPOOL system"
  15. #define GIMME_A_FILE "SPOOL output"
  16. #define LOGIN_PRINTER "SPOOL login"
  17.  
  18. /* log_status codes */
  19.  
  20. #define LOG_IN '+'
  21. #define LOG_OUT '-'
  22. #define LOGGED 'X'
  23.  
  24. /* The message structure - same for both message ports */
  25.  
  26. typedef struct {
  27.     struct Message minfo;
  28.     char log_status;
  29.     char filename[128];
  30. } SPOOLmsg;
  31.  
  32. #define SHUTDOWN "-shutdown"
  33.  
  34. /* end of spool.h */
  35.